package view.swinginterface;

import java.io.Serializable;

public class UserListItem implements Serializable {
    private String name;
    private int userId;

    public UserListItem(String name, int userId) {
        this.name = name;
        this.userId = userId;
    }

    @Override
    public String toString() {
        return name;
    }

    public int getUserId() {
        return userId;
    }

    public String getName() {
        return name;
    }
}